package com.liming.common.pojo.vo.stock;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author liming
 * @date 2025/2/23
 */
@Data
@Schema(description = "库存流水信息VO")
public class StockFlowVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "库存流水ID")
    private Long id;

    @Schema(description = "商品名称")
    private String productName;

    @Schema(description = "商品型号")
    private String modelNumber;

    @Schema(description = "商品图片")
    private String productImage;

    @Schema(description = "流水类型")
    private Integer type;

    @Schema(description = "操作数量")
    private Integer quantity;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "操作人|购买人")
    private String operator;

    @Schema(description = "流水备注")
    private String remark;

    @Schema(description = "操作时间")
    private LocalDateTime createTime;
}
